<?php /* Smarty version 2.6.13, created on 2011-05-23 01:18:52
         compiled from paramters-fee-new.tpl */ ?>
<script type="text/javascript" src="../<?php echo $this->_tpl_vars['FOLDER_TEMPLATES']; ?>
/<?php echo $this->_tpl_vars['TEMPLATE_NAME_PATH']; ?>
/js/jquery/jquery-1.4.1.js"></script>
<script type="text/javascript" src="../<?php echo $this->_tpl_vars['FOLDER_TEMPLATES']; ?>
/<?php echo $this->_tpl_vars['TEMPLATE_NAME_PATH']; ?>
/js/jquery/jquery-1.4.1.min.js"></script>
<script type="text/javascript" src="../<?php echo $this->_tpl_vars['FOLDER_TEMPLATES']; ?>
/<?php echo $this->_tpl_vars['TEMPLATE_NAME_PATH']; ?>
/js/fee.js"></script>
<div class="wrapper fr-content">
      <div class="fr-selectbox">
          * Sell Currency Fee
      </div>	
      <div class="fr-form">
      <form class="base_form" id="newfee" name="newfee" action="?<?php echo $_SERVER['QUERY_STRING']; ?>
" method="POST" onSubmit="return onAddFee('newfee','error','?mod=<?php echo $_GET['mod']; ?>
&sub1=<?php echo $_GET['sub1']; ?>
','?<?php echo $_SERVER['QUERY_STRING']; ?>
'); ">
      <input type="hidden" name="act" value="newfee" />
      <input type="hidden" name="currency_type" value="<?php if ($_GET['type'] == 'sell'): ?>1<?php elseif ($_GET['type'] == 'buy'): ?>2<?php endif; ?>" />
      <div class="" id="error"></div>
      <table width="100%" cellpadding="0" cellspacing="0">
          <tr>
              <th width="20%" style="text-align:right">Sell Currency</th>
              <td style="text-align:left">
              
            <select name="ecurrency_id" class="left selectbox">
            	<option>--- Select Dest Currency</option>
                <?php $_from = $this->_tpl_vars['ALLECURRENCY']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['src'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['src']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['item']):
        $this->_foreach['src']['iteration']++;
?>
              
                <option id='<?php echo $this->_tpl_vars['item']->id; ?>
' value='<?php echo $this->_tpl_vars['item']->id; ?>
'> <?php echo $this->_tpl_vars['item']->ecurrency_name; ?>
 </option>
                              
          		<?php endforeach; endif; unset($_from); ?>
            </select>
              </td>
          </tr>
          <tr>
              <th width="20%" style="text-align:right">Bank Currency</th>
              <td style="text-align:left">
                <select name="bank_id" class="left selectbox">
                    <option>--- Select Source Currency</option>
                    <?php $_from = $this->_tpl_vars['ALLSRCECURRENCY']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['src'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['src']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['item']):
        $this->_foreach['src']['iteration']++;
?>
                    	<option id='<?php echo $this->_tpl_vars['item']->bank_id; ?>
' value='<?php echo $this->_tpl_vars['item']->bank_id; ?>
'> <?php echo $this->_tpl_vars['item']->bank_name; ?>
 </option>
                    <?php endforeach; endif; unset($_from); ?>
                </select>
              </td>
          </tr>
          <tr>
              <th width="20%" style="text-align:right">Currency Type</th>
              <td style="text-align:left"><?php if ($_GET['type'] == 'sell'): ?>Sell<?php elseif ($_GET['type'] == 'buy'): ?>buy<?php endif; ?></td>
          </tr>
          <tr>
              <th width="20%" style="text-align:right">Sell Fee</th>
              <td style="text-align:left"><input type="text" name="sell_fee"/></td>
          </tr>
          <tr>
              <th width="20%" style="text-align:right">Bank Fee</th>
              <td style="text-align:left"><input type="text" name="bank_fee"/></td>
          </tr>
          <tr>
              <th width="20%" style="text-align:right">Current Limit</th>
              <td style="text-align:left"><input type="text" name="current_limit"/></td>
          </tr>
          <tr class="fr-action">
              <td width="20%" style="text-align:right"></td>
              <td style="text-align:left"><input type="submit" value="submit"></td>
          </tr>
      </table>
      </form>
	</div>
</div>